<html>
<p class="truncate-text">If I exceed one line's width, I will be truncated.</p>

</html>

<style>
  .truncate-text {
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    width: 200px;
  }
</style>